package com.mzw.huaxiarealestatebackend.service;

import com.mzw.huaxiarealestatebackend.entity.PanFile;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface PanService {
    Map<String, String> createDirectoryStructure(String pjtNo);

    List<PanFile> getFile(Map<String, String> map);

    ResponseEntity<String> uploadFile(List<MultipartFile> file, Map<String, String> map);

    Boolean couldUpload(Map<String,String> map);

    ResponseEntity<byte[]> downloadFile(Map<String,String> map);

    Map<String,String> deleteFile(Map<String, String> map);
}
